<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/emp.js"></script>
</head>
<body>
    <h2>用户注册</h2>
    用户名: <input type="text" id="username"> <br>
    密码: <input type="password" id="password"> <br>
    姓名: <input type="text" id="name"> <br>
    年龄: <input type="text" id="age"> <br> 
    <input type="button" value="注册" onclick="register()">

</body>
</html>